import sys
from PySide6.QtWidgets import QApplication, QMainWindow
from Ui_各种布局 import Ui_Form

class MainWindow(QMainWindow,Ui_Form):
    def __init__(self,parent=None):
        super(MainWindow, self).__init__(parent)
        self.setupUi(self)

if __name__ == '__main__':
    app = QApplication(sys.argv)
    main_window = MainWindow()
    main_window.show()
    sys.exit(app.exec_())